/*    file: SdlMouseState.h
 *    desc:
 *   
 * created: 2014-01-17 17:06:17
 *  author: zhengchuanjiang
 * company: 
 */ 


#if !defined SDLMOUSESTATE_H_
#define SDLMOUSESTATE_H_

#include <SDL.h>
////////////////////////////////////////////////////////////////////////////
namespace sdl
{

class MouseState
{
public:
    MouseState();
    ~MouseState();

    bool save(SDL_Window* pWindow);

    bool resume(SDL_Window* pWindow);

private:
    SDL_Point computeState(SDL_Window* pWindow);

private:
    int m_width;
    int m_height;
    int m_x;
    int m_y;

};



}
////////////////////////////////////////////////////////////////////////////
#endif //SDLMOUSESTATE_H_

